package cn.ecasoft.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @Author: LiangChun
 * @Description: ip
 * @DateTime: 2023/2/23
 **/
@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "allow")
public class AllowProperties {
    private List<String> ips;
    private Integer port;
    private String key;
    private String iv;
    private String aes_key;
    private Boolean ifip;
    //心跳保活最长时间（s)
    private Integer timeout;
}
